package com.lagou.module.factory;

import com.lagou.module.dao.*;
import com.lagou.module.entity.ClassGrade;

public  class DaoFactory {

    //User
    public static UserDao getUserDao(){
        return new UserDaoImpl();
    }

    //ClassGradeDao
    public static ClassGradeDao getClassGradeDao(){
        return new ClassGradeDaoImpl();
    }



    //Student
    public static StudentDao getStudentDao(){
        return new StudentDaoImpl();
    }




}
